package com.stx.test;

/**
 * packageName com.stx.test
 *
 * @author YangYi
 * @className StudentsModifierDemo
 * @date 2025/9/12
 * @description TODO
 */
public class StudentsModifierDemo {
    public static void main(String[] args) {
        StudentsModifier students = new StudentsModifier();
//        students.name = "张三";//这里在class里设置了private修饰符
        students.setName("张三");
        System.out.println(students.getName());
    }
}
